package com.guodu.dao;

import java.util.List;

import com.guodu.entity.SupplierBad;
import com.guodu.entity.SupplierBadStatus;
import com.guodu.entity.Units;
import com.guodu.vo.SupplierBadQueryVo;

public interface SupplierBadDao {
	public int findSizeByVo(SupplierBadQueryVo supplierBadQueryVo,Units units);
	public List<SupplierBad> findByVo(SupplierBadQueryVo supplierBadQueryVo,Units units,int curPage, int pageSize); 
	public List<SupplierBad> downLoad(SupplierBadQueryVo supplierBadQueryVo,Units units);
	public void examinAll(SupplierBadQueryVo supplierBadQueryVo,Units units);
	public void save(SupplierBad supplierBad);
	void examine(String ids, Long status);
	void delByIds(String[] ids);
	
	public SupplierBad findById(String id);
	public void update(SupplierBad supplierBad);
	public void changeStatus(List<SupplierBadStatus> supplierBadStatusList);
	
	public List<SupplierBadStatus> findStatus(String id);
	
	public void deleteById(String id);
}
